package com.example.springMVC.service;

import com.example.springMVC.commons.ServiceException;
import com.example.springMVC.pojo.Bill;
import com.github.pagehelper.PageInfo;

public interface BillService {
    PageInfo<Bill> billList(Integer currentPage, Integer proId, Integer isPayment, String proName);

    boolean billAdd(Bill bill) throws ServiceException;

    boolean deleteBill(Long billId);

    Bill getUserById(long billId);

    boolean updateBillById(Bill bill);
}
